package cn.edu.scau.cmi.wuzewei.abstractFactory.factory;

import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PICCAccidentsInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PICCBodyInjureInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PICCCarDamageInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domain.PICCCasualtiesInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domainAbstractClass.Insurance;

public class PICCFactory extends InsuranceFactory {
    @Override
    public Insurance getAccidentsInsurance() {
        return new PICCAccidentsInsurance();
    }

    @Override
    public Insurance getBodyInjureInsurance() {
        return new PICCBodyInjureInsurance();
    }

    @Override
    public Insurance getCarDamageInsurance() {
        return new PICCCarDamageInsurance();
    }

    @Override
    public Insurance getCasualtiesInsurance() {
        return new PICCCasualtiesInsurance();
    }
}

